package com.example.demo.service.query.impl

import com.example.demo.model.Clazz
import com.example.demo.service.query.ClassQuerySerivce
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import spock.lang.Specification

/**
 * @title: ClassQuerySerivceImplSpec* @projectName demo* @description: TODO* @author lafengmaker* @email yeweijun@souche.com
 * @date 2019-10-10 16:26
 */
@SpringBootTest
class ClassQuerySerivceImplSpec extends Specification {
    @Autowired
    private ClassQuerySerivce classQuerySerivce;
    def "SelectallClazzByName"() {
        given:
        def a=1;
        when:
        List<Clazz> clazzes= classQuerySerivce.selectallClazzByName();
        then:
        clazzes.size()>0

    }
}
